﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
using System.Data;
using System.Data.SqlClient;
using System.Data.SqlTypes;
using System.Web.Core;

namespace Yuanlin.Business
{
    public class BusinessInfo : Entity
    {
        private Property<int> num = new Property<int>();
        private Property<int> productId = new Property<int>();//这里加了这个id，通过名称title来查询得到，这样在后续查询的时候就用这个Id来
        private Property<int> categoryId = new Property<int>();//区分花木还是资材
        private Property<int> userId = new Property<int>();//被访问公司EntityId
        private Property<string> title = new Property<string>();
        private Property<string> visitGreenNum = new Property<string>();//访问者的绿商号
        private Property<DateTime> createDate = new Property<DateTime>();

        public Property<int> Num
        {
            get { return num; }
            set { num = value; }
        }
        public Property<int> ProductId
        {
            get { return productId; }
            set { productId = value; }
        }
        public Property<int> CategoryId
        {
            get { return categoryId; }
            set { categoryId = value; }
        }
        public Property<int> UserId
        {
            get { return userId; }
            set { userId = value; }
        }
        public Property<string> Title
        {
           get { return title; }
           set { title = value; }
        }
        public Property<string> VisitGreenNum
        {
            get { return visitGreenNum; }
            set { visitGreenNum = value; }
        }
        public Property<DateTime> CreateDate
        {
           get { return createDate; }
           set { createDate = value; }
        }
    }
}